﻿Imports System.Collections.Generic
Imports System.Linq
Imports System.Text

''' <summary>
''' Clase que define la entidad de negocio Backup
''' </summary>
''' <remarks></remarks>
Public Class cBackup

    Private _Bkp_Id As Int16
    Private _Bkp_Descripcion As String
    Private _Bkp_Path As String
    Private _Bkp_Fecha As DateTime
    Private _Bkp_Activo As Int16
    Private _oUsuario As cUsuario


    Public Property Bkp_Id() As Int16
        Get
            Return _Bkp_Id
        End Get
        Set(value As Int16)
            _Bkp_Id = value
        End Set
    End Property

    Public Property Bkp_Descripcion() As String
        Get
            Return _Bkp_Descripcion
        End Get
        Set(value As String)
            _Bkp_Descripcion = value
        End Set
    End Property

    Public Property Bkp_Path() As String
        Get
            Return _Bkp_Path
        End Get
        Set(value As String)
            _Bkp_Path = value
        End Set
    End Property

    Public Property Bkp_Fecha() As DateTime
        Get
            Return _Bkp_Fecha
        End Get
        Set(value As DateTime)
            _Bkp_Fecha = value
        End Set
    End Property

    Public Property Bkp_Activo() As Int16
        Get
            Return _Bkp_Activo
        End Get
        Set(value As Int16)
            _Bkp_Activo = value
        End Set
    End Property

    Public Property oUsuario() As cUsuario
        Get
            Return _oUsuario
        End Get
        Set(value As cUsuario)
            _oUsuario = value
        End Set
    End Property


    Public Sub New()
        _oUsuario = New cUsuario
    End Sub

End Class